package job.sql.random;

import java.io.IOException;
import java.util.Random;

import mapred.base.TextMapper;

import org.apache.hadoop.io.Text;

public class Sql_Random_Mapper extends TextMapper {

    @Override
    public void map(Text key, Text value) throws IOException {
        String r = Long.toHexString(new Random().nextLong());

        this.output(new Text(r + " " + key.toString()), value);
    }

    @Override
    public void setUp() {
    }

    @Override
    public void tearDown() throws IOException {
    }

}
